package com.ai.common.constant.enumP;

/**
 * @Author jiaok
 * @Date 2023-11-20 17:43
 */
public enum MqMessageStatus {
    /**
     * mq消息发送异常
     */
    SENDING_EXCEPTION("0","mq消息发送异常"),
    /**
     * mq消息发送成功
     */
    SENDING_SUCCESS("1","mq消息发送成功")
    ;

    private final String code;

    private final String message;

    MqMessageStatus(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
